Skip to content

refactor member analysis #669

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

refactor member analysis #669

wants to merge 1 commit into from

Conversation

CppCXY
Copy link
Member

@CppCXY CppCXY commented Jul 28, 2025

Previously, member analysis was highly dynamic. We needed to analyze the parent class and add members at the same time, and when accessing a class member, we couldn’t assume that the field didn’t exist, so we repeatedly tried to resolve it during the resolve phase. I think we should more statically determine which members a class has, and we will implement this based on some more aggressive assumptions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant